.class Lcom/teewoo/app/bus/ui/ChangeDetailActivity$1;
.super Ljava/lang/Object;
.source "ChangeDetailActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/teewoo/app/bus/ui/ChangeDetailActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/ChangeDetailActivity;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/ChangeDetailActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/ChangeDetailActivity$1;->this$0:Lcom/teewoo/app/bus/ui/ChangeDetailActivity;

    .line 40
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 44
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    sparse-switch v2, :sswitch_data_0

    .line 60
    :cond_0
    :goto_0
    return-void

    .line 46
    :sswitch_0
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/ChangeDetailActivity$1;->this$0:Lcom/teewoo/app/bus/ui/ChangeDetailActivity;

    invoke-virtual {v2}, Lcom/teewoo/app/bus/ui/ChangeDetailActivity;->finish()V

    goto :goto_0

    .line 49
    :sswitch_1
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/ChangeDetailActivity$1;->this$0:Lcom/teewoo/app/bus/ui/ChangeDetailActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/ChangeDetailActivity;->access$0(Lcom/teewoo/app/bus/ui/ChangeDetailActivity;)Ljava/lang/String;

    move-result-object v1

    .line 50
    .local v1, sms:Ljava/lang/String;
    if-eqz v1, :cond_0

    .line 52
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.SENDTO"

    const-string v3, "smsto:"

    invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v3

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 53
    .local v0, it:Landroid/content/Intent;
    const-string v2, "sms_body"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 54
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/ChangeDetailActivity$1;->this$0:Lcom/teewoo/app/bus/ui/ChangeDetailActivity;

    invoke-virtual {v2, v0}, Lcom/teewoo/app/bus/ui/ChangeDetailActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 44
    :sswitch_data_0
    .sparse-switch
        0x7f0a009b -> :sswitch_0
        0x7f0a009f -> :sswitch_1
    .end sparse-switch
.end method
